package com.cssw.fyzb.tps.config.auth;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @Author zhouxu
 * @create 2020-09-16 08:44
 */

/**
 * 出参报文：
 * {
 * "code":"0","msg":"请求成功",
 * "transactionTime":"20151022043831",
 * "access_token":"accessToken_string",
 * "expire_time":"20151022043831",
 * "expire_in":"7200"
 * }
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class AccessTokenConfig implements Serializable {
    public static final String STATUS_SUCCESS = "0";

    private String code;
    private String transactionTime;
    private boolean success;
    private String accessToken;
    private String expireIn;
    private String expireTime;

}
